<template>
  <div id="app" style="height:750px">
    <div class="background">
      <img :src="imgSrc" width="100%" height="750px" alt=""/>
    </div>
    <a-layout>
      <a-layout-header style="background: rgb(0,176,255); padding: 0 ; font-size: 30px ;z-index: 1;opacity:0.9;">
        <a-icon type="bank"/>
        用户信用在线评分平台
      </a-layout-header>

      <a-layout-content
          :style="{ margin: '24px 30px', padding: '24px', background: '#fff', minHeight: '570px', 'z-index':'1', opacity:'0.7'}"
      >

        <router-view></router-view>
      </a-layout-content>
      <a-layout-footer style="text-align:center; color:#000; padding: 0">
        用户信用评分平台 ©2021 Created by AYu
      </a-layout-footer>
    </a-layout>
  </div>
</template>

<script>

export default {
  name: 'App',
  components: {},
  data() {
    return {
      imgSrc: require("./assets/1.jpg"),

    }
  }
}
</script>

<style scoped>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

.background {
  width: 100%;
  height: 100%; /**宽高100%是为了图片铺满屏幕 */
  z-index: 0;
  opacity: 0.5;
  position: absolute;
}
</style>
